<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html >
<html>
<head>
<title>配送公司信息修改</title>
<t:base type="jquery,easyui,tools,DatePicker,autocomplete,layer,multiple-select"></t:base>
<style type="text/css">
	.errorFlag{
		color: #CA3F27;
	}
	.textbox{
		width: 135px;height: 25px;
	}
	
	.Validform_wrong{
		color:red;
		padding-left:20px;
		white-space:nowrap;
		background:url(../plug-in/error.png) no-repeat left center;
		display: none;
	}
	.validatebox-invalid {
	    border-color: #FFA8A8;
	    background-color: #FFF3F3;
	    color: #000;
	}
	th{
		text-align: right;
	}
</style>
</head>
<body>
	<div id="dop_deliveryCompany_add_panel" >
	<input type="hidden" id="companyId" value="${requestScope.company.id }" />
	<div  style="vertical-align: bottom;" >
		<a href="javascript:history.back(1);" class="easyui-linkbutton" data-options="iconCls:'icon-back'" style="width:80px">返回</a>
		<a href="javascript:void(0);" id="dop_deliveryCompany_save" class="easyui-linkbutton" data-options="iconCls:'icon-save'" style="width:80px">保存</a>
	</div>
	<table
		class="table table-hover" style="width: 60%;">
		<tr>
			<th style="text-align: right;width: 10%;">公司名称：</th>
			<td style="width: 10%;">
				<span class="errorFlag">*</span>
				<input class="textbox" id="companyName" value="${requestScope.company.companyName }">
			</td>
			<th style="text-align: right;width: 10%;">公司电话：</th>
			<td style="width: 20%;">
				<input class="textbox" id="companyTel" value="${requestScope.company.companyTel }">
			</td>
		</tr>
		<tr>
			<th style="text-align: right;width: 10%;">备注：</th>
			<td  colspan="3" style="width: 80%;">
				&nbsp;&nbsp;
				<input type="hidden" id="descHide"  value="${requestScope.company.companyDesc }"/>
				<textarea id="companyDesc" cols="20" rows="3" class="textbox"
				style="border: 1px solid #95B8E7;height: 70px;width: 458px;"></textarea>
			</td>
		</tr>
	</table>
	
	</div>
	<table id="dop_datagrid_deliveryMan" ></table>
	<div id="tbar" style="padding:5px;height:auto">
		<!--  
		<div>
			员工名称: 
			<a href="javascript:void(0);" id="dop_btn_query" class="easyui-linkbutton" iconCls="icon-search">查询</a>
		</div>
		-->
		<div style="margin-bottom:5px;vertical-align: middle;" >
			
			<a href="javascript:void(0);" id="dop_btn_showAdd" class="easyui-linkbutton" iconCls="icon-add" plain="true">添加</a>
			<a href="javascript:void(0);" id="dop_btn_modify" class="easyui-linkbutton" iconCls="icon-edit" plain="true">修改</a>
			<a href="javascript:void(0);" id="dop_btn_open" class="easyui-linkbutton" iconCls="icon-ok" plain="true">在职</a>
			<a href="javascript:void(0);" id="dop_btn_stop" class="easyui-linkbutton" iconCls="icon-no" plain="true">离职</a>
			<input placeholder="请输入员工姓名搜索" code='realName' style="width:120px;height: 23px;float: right;"/>
		</div>
	</div>
	
	<div id="window"  class="easyui-window" collapsible="false"  closed="true"
		 resizable="false" minimizable="false" maximizable="false"  modal="true" title="员工信息操作"
		  data-options="onClose:function(){$('.textbox').attr('class','textbox');$('#window').find('input[class=textbox],textarea').val('');}" 
	 style="width:540px;height: 450px;">
	 	<input type="hidden" id="delId" />
		<table cellpadding="5" style="width: 95%;">
			<tr>
				<th style="width: 30%;">员工姓名：</th>
				<td style="width: 40%;">
					<span class="errorFlag">*</span>
					<input class="textbox" id="realName" >
					<span id="realNameMsg" class="Validform_wrong"></span>
				</td>
				<th style="width: 30%;">是否是配送员：</th>
				<td>
					<select class="easyui-combobox" id="isDeliveryMan"  style="width:135px;" data-options="panelHeight:'auto'">
						<option value="1">是</option>
						<option value="2">否</option>
					</select>
					<!-- 
					<input type="radio" value="1" name="isDeliveryMan" id="isDelivery"/><label for="isDeliveryMan">是</label>
					<input type="radio" value="2" name="isDeliveryMan" id="isNotDelivery" checked="checked" /><label for="isNotDeliveryMan">否</label>
					 -->
				</td>
			</tr>
			<tr>
				<th>手机：</th>
				<td colspan="3">
					<span class="errorFlag">*</span>
					<input class="textbox" id="delTelephone">
					<span id="delTelephoneMsg" class="Validform_wrong"></span>
				</td>
			</tr>
			<tr>
				<th>身份证号：</th>
				<td colspan="3">
					<span class="errorFlag">*</span>
					<input class="textbox" id="delCertificates">
					<span id="delCertificatesMsg" class="Validform_wrong"></span>
				</td>
			</tr>
			<tr>
				<th>备注：</th>
				<td colspan="3"	>
					&nbsp;&nbsp;
					<textarea  id="delIntroduction" style="border: 1px solid #95B8E7;height: 50px;width: 344px;"></textarea>
					<span id="delIntroductionMsg" class="Validform_wrong"></span>
				</td>
			</tr>
			<tr>
				<td colspan="4" style="width: 100%;vertical-align: middle;text-align: center;">
					<div class="panel-header panel-header-noborder window-header"
					 style="width: 105%;"><div class="panel-title" style="">
					 </div></div>
				</td>
			</tr>
			<tr>
				<th>登录名：</th>
				<td>
					<span class="errorFlag" id="userError" style="display: none;">*</span>
					<input class="textbox" id="userName">
					<span id="userNameMsg" class="Validform_wrong"></span>
					<label id="userNameLabel"></label>
				</td>
				<th>角色：</th>
				<td style="text-align: left;">
					<span class="errorFlag">*</span>
					<input type="hidden" id="roleId" />
					<input class="textbox" id="roleName" style="width: 115px;"  placeholder="点击此处选择角色">
					<!-- 
					<a href="javascript:void(0);"  onclick="selectRole();" class="easyui-linkbutton" data-options="iconCls:'icon-search'"></a>
					 -->
					<span id="roleNameMsg" class="Validform_wrong"></span>
				</td>
			</tr>
			<tr id="loginPwd" class="password">
				<th>登录密码：</th>
				<td colspan="3">
					<span class="errorFlag">*</span>
					<input class="textbox" type="password" id="password">
					<span id="passwordMsg" class="Validform_wrong"></span>
				</td>
			</tr>
			<tr id="loginRepwd"  class="password">
				<th>确认密码：</th>
				<td colspan="3">
					<span class="errorFlag">*</span>
					<input class="textbox" type="password" id="repassword">
					<span id="repasswordMsg" class="Validform_wrong"></span>
				</td>
			</tr>
			
		</table>
		<div style="width: 100%;text-align: center;">
			<a href="javascript:void(0);" id="save" class="easyui-linkbutton" iconCls="icon-ok" plain="true">保存</a>
	       	<a href="javascript:void(0);" id="cancel" class="easyui-linkbutton" iconCls="icon-cancel" plain="true">取消</a>
		</div>
	</div>
	<div id="roleWindow" class="easyui-window" closed="true" collapsible="false"  minimizable="false"  resizable="false"
		 maximizable="false"  modal="true" title="角色列表"  >
		<table id="roleList"></table>
	</div>
	 <div id="roleTool">
        <a href="javascript:void(0);" id="roleOk" class="easyui-linkbutton" iconCls="icon-ok" plain="true">选择</a>
        <a href="javascript:void(0);" id="roleCancel" class="easyui-linkbutton" iconCls="icon-cancel" plain="true">取消</a>
        <input placeholder="请输入角色名称搜索" code='roleName' style="width:120px;height: 23px;float: right;"/>
    </div>
	
</body>

</div>


<script type="text/javascript" src="webpage/dop/js/deliveryCompanyEdit.js"></script>
<script>

</script>
</body>
</html>